﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;

namespace WinTime.Core.Helpers;
public class Logger
{
    private static readonly LoggerFactory loggerFactory = new();


    public static ILogger log = loggerFactory.CreateLogger("logger");

    public static void Warning(string message)
    {
        log.LogWarning(message);
    }

    public static void Info(string message)
    {
        log.LogInformation(message);
    }
}
